/*
 * @Description: 
 * @Author: liyuhao
 * @Date: 2021-07-28 16:36:41
 * @LastEditors: liyuhao
 * @LastEditTime: 2021-07-28 16:55:00
 */
import React from 'react'
import styles from './index.module.less'

export interface FormTitleProps {
    style?: React.CSSProperties
    className?: string,
    children: any
}

const FormTitle: React.FC<FormTitleProps> = props => {
    const {style, className, children} = props

    return (
        <div style={style} className={`${styles['form-title']} ${className}`}>{children}</div>
    )
}

export default FormTitle